package com.cloudfun.campusshare.repo;

import com.cloudfun.campusshare.entity.RebatePromotionEntity;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * Created by CodeGenerator on 2020/06/06
 */
public interface RebatePromotionRepo extends PagingAndSortingRepository<RebatePromotionEntity, String>, JpaSpecificationExecutor<RebatePromotionEntity> {

    RebatePromotionEntity findByPromotionId(String couponId);

}